import unittest

'''
1. setUp(数据以及环境的准备), tearDown(数据以环境的清除)不是必须的内容
2. setUp, tearDown会在每条测试用例执行开始与结束时都去执行.
'''


class TestDemo(unittest.TestCase):
    def setUp(self) -> None:
        print('start')

    def tearDown(self) -> None:
        print('end')

    def test_case1(self):
        print(1111)

    def test_case2(self):
        print(22222)


if __name__ == '__main__':
    unittest.main()
